package model;

import java.util.concurrent.ExecutorService;

import java.util.concurrent.Executors;

public class WorldManager {
	
	
	private World jogo;
	
	private gfxengine.TabuleiroSwing teste;
	
	
	public WorldManager(){
		
		this.jogo = new World(1,1,40);
		//StartServing();
		gfxengine.TabuleiroSwing teste = new gfxengine.TabuleiroSwing(jogo);
		jogo.addObserver(teste);
			
	
		
		
	}
	/*
	public StartServing(){
		
	}
	*/
/*
	public class SimpleServer {
		 public static final int PORTO = 8080;
		 private void readObject(model.World in){
				 throws IOException,
				 ClassNotFoundException;
		 }
		 private void writeObject(model.World out){
				 throws IOException;	
		 }
	
*/
public static void main(String[] args) {

	WorldManager snake = new WorldManager();
	
}
}